package cn.cqie.attendance.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

@Data
@AllArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = 1L;
    private Integer id;
    private String token;
    private Integer loginTimes;
    private Integer status;
    private String username;
    private String password;
    private String tag;
    private Integer role;

    public User(String token, Integer loginTimes) {
        this.token = token;
        this.loginTimes = loginTimes;
    }

    public User() {

    }
}
